<html xmlns:th="http://www.w3.org/1999/xhtml">
<style>
		.cus-layui-form-label{
		 text-align:left;
    	display: block;
   	 padding: 9px 15px;
    	font-weight: 400;
    	/*background-color: #d2d2d2;*/
    }

    .cus-layui-div img {
    margin-left: auto;
    margin-right:auto;
    display:block;
    }
	</style>
		<div style="margin: 15px;">
			<form class="layui-form" action="">
				<div class="row">
					<div class="col-sm-4">
					<label class="cus-layui-form-label">名称</label>
					</div>
					<div class="col-sm-8">
						<input type="text" name="name" id="name" lay-verify="required" placeholder="请输入名称"  class="layui-input">
            <input type="hidden" id="id" name="id"/>
					</div>
				</div>
				<div class="row">
					<div class="col-sm-4">
						<label class="cus-layui-form-label">操作</label>
					</div>
					<div class="col-sm-8" >
						<select name="type" >
							<option th:each="state : ${T(com.cxf.windex.enums.ActivityEnum).values()}" th:value="${state.key}" th:text="${state.desc}"></option>
						</select>
					</div>
				</div>
				<div class="row">
					<div class="col-sm-4">
						<label class="cus-layui-form-label">达标金额</label>
					</div>
					<div class="col-sm-8" >
						<input type="number" name="money" id="money" lay-verify="required" placeholder="请输入达标金额"  class="layui-input">

					</div>
				</div>
				<div class="row">
					<div class="col-sm-4">
						<label class="cus-layui-form-label">奖励类型</label>
					</div>
					<div class="col-sm-8" >
						<select name="bonusType">
							<option th:each="state : ${T(com.cxf.windex.enums.BonusTypeEnum).values()}" th:value="${state.key}" th:text="${state.desc}"></option>
						</select>
					</div>
				</div>
				<div class="row">
					<div class="col-sm-4">
						<label class="cus-layui-form-label">奖励</label>
					</div>
					<div class="col-sm-8" >
						<input type="number" name="bonus"  lay-verify="required" placeholder="请输入奖励"  class="layui-input">
           </div>
				</div>
				<div class="row">
					<div class="col-sm-4">
						<label class="cus-layui-form-label">开始时间</label>
					</div>
					<div class="col-sm-8" >
						<input type="text" name="bTime" readonly="true" id="bTime"  lay-verify="required" placeholder="选择开始时间"  class="layui-input">
					</div>
				</div>
				<div class="row">
					<div class="col-sm-4">
						<label class="cus-layui-form-label">结束时间</label>
					</div>
					<div class="col-sm-8" >
						<input type="text" name="eTime" readonly="true" id="eTime"  lay-verify="required" placeholder="选择结束时间"  class="layui-input">
					</div>
				</div>
				<button lay-filter="edit" lay-submit style="display: none;"></button>
			</form>
		</div>
</html>